import request from '@/utils/request.js'

// 注册
export const regApi = (obj) => {
  return request.post('/api/reg', obj)
}
// 登录
export const loginApi = obj => {
  return request.post('/api/login', obj)
}
